﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace StripeOne.Core
{
    [global::System.Serializable]
    public class MessageException : Exception
    {
        public MessageException() { }
        public MessageException(string message) : base(message) { }
        public MessageException(string message, Exception inner) : base(message, inner) { }
        protected MessageException(
          SerializationInfo info,
          StreamingContext context)
            : base(info, context) { }
    }

    [global::System.Serializable]
    public class TranslationException : MessageException
    {
        public TranslationException() { }
        public TranslationException(string message) : base(message) { }
        public TranslationException(string message, Exception inner) : base(message, inner) { }
        protected TranslationException(
          SerializationInfo info,
          StreamingContext context)
            : base(info, context) { }
    }
}